package org.jeecg.modules.demo.moneylevel.service.impl;

import org.jeecg.modules.demo.moneylevel.entity.MoneyLevelData;
import org.jeecg.modules.demo.moneylevel.mapper.MoneyLevelMapper;
import org.jeecg.modules.demo.moneylevel.service.IMoneyLevelService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Author yw
 * @Date 2021/3/17 10:09
 */
@Service
public class MoneyLevelServiceImpl implements IMoneyLevelService {
    @Autowired
    MoneyLevelMapper moneyLevelMapper;

    @Override
    public List<MoneyLevelData> getDataList(MoneyLevelData moneyLevelData) {
        return moneyLevelMapper.getDataList(moneyLevelData);
    }

    @Override
    public Integer getDataCount(MoneyLevelData moneyLevelData) {
        return moneyLevelMapper.getDataCount(moneyLevelData);
    }
}
